package com.haogu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Data
public class Community implements Serializable {
    private static final long serialVersionUID = 4662577368693968587L;
    private Integer id;
    private String name;
    private String code;
    private String district;
    private String address;
    private Date buildDate;
    private String type;
    private BigDecimal area;
    private Integer floorNum;
    private Integer houseNum;
    private BigDecimal carAre;
    private Integer carNum;
    private String pic;
    private String brief;
    private String principalName;
    private String principalWx;
    private String principalPhone;
    private String principalQq;
    private String principalEmail;

    @JsonFormat(shape = JsonFormat.Shape.NUMBER)
    private Timestamp createTime;
    @JsonFormat(shape = JsonFormat.Shape.NUMBER)
    private Timestamp updateTime;

}
